// router -- service -- dao
const roleService = require('../service/roleService')
const express =require('express')
const router = new express.Router()

router.get('/list',(req, res)=>{
    roleService.list((rows)=>{
        res.json(rows)
    })
})
module.exports=router
